/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.edu.amu.wmi.kino.visualjavafx.model.generators;

import java.awt.Color;
import pl.edu.amu.wmi.kino.visualjavafx.model.animation.interpolators.Interpolation;
import pl.edu.amu.wmi.kino.visualjavafx.model.animation.transformations.ChangeFillColor;

/**
 *
 * @author Admin
 */
public class ModelChangeFillColorGenerator {
    public static ChangeFillColor generateChangeFillColor(Interpolation i , Color destinedColor){
        ChangeFillColor res = new ChangeFillColor();
        res.setDestinedColor(destinedColor);
        res.setInterpolation(i);
        return res;
    }
}
